package com.lzs.PO;

import java.util.ArrayList;
import java.util.List;

public class Menu {
private String menuid;
private String name;
private String pid;
private String url;
private boolean open = true;
private boolean checked = false;
private List<Menu> children = new ArrayList<Menu>();
private List<Role>roles;

public boolean isChecked() {
	return checked;
}
public void setChecked(boolean checked) {
	this.checked = checked;
}
public String getMenuid() {
	return menuid;
}
public void setMenuid(String menuid) {
	this.menuid = menuid;
}

public String getName() {
	return name;
}
public void setName(String name) {
	this.name = name;
}
public String getPid() {
	return pid;
}
public void setPid(String pid) {
	this.pid = pid;
}
public String getUrl() {
	return url;
}
public void setUrl(String url) {
	this.url = url;
}
public boolean isOpen() {
	return open;
}
public void setOpen(boolean open) {
	this.open = open;
}
public List<Menu> getChildren() {
	return children;
}
public void setChildren(List<Menu> children) {
	this.children = children;
}
public List<Role> getRoles() {
	return roles;
}
public void setRoles(List<Role> roles) {
	this.roles = roles;
}
@Override
public String toString() {
	return "Menu [menuid=" + menuid + ", name=" + name + ", pid=" + pid + ", url=" + url + ", open=" + open + ", checked="
			+ checked + ", children=" + children + ", roles=" + roles + "]";
}

}

